<div ng-include="sys_html('common/_header')"></div>
<div class="fui-page fui-page-current page-shop-goods_category">
    <div class="fui-header">
		<div class="fui-header-input">
			<form method="post">
					<div class="searchbar searchbar-active" style="margin-left:0.2rem">
					<div class="search-input" ng-click="access_json('jy_weishop/search//searchstart=1')">
						<i class="icon jinyunicon icon-search" style="font-size: 0.8rem;"></i>
						<input type="search" id="search" ng-model="pagedata.params.keyword" placeholder="输入关键字..." value="" readonly>
					</div>
					</div>
			</form>
		</div>
		<div class="fui-header-right" data-nomenu="true">
			<a href="javascript:;" ng-click="access(pagedata.op,made_query(pagedata.params))" style="padding:0 0.2rem"> 搜索</a>
		</div>
</div>
	<div class="fui-content navbar">
		<div class="fui-fullHigh-group">
			<div class="fui-fullHigh-item menu" id="tab">
				<nav ng-class="{'on':pagedata.pid == 0}" ng-click="pagedata.children=pagedata.recommend;pagedata.image=false;pagedata.pid=0">推荐分类</nav>
				<nav ng-repeat="value in pagedata.clist" ng-click="pagedata.children=value.children;pagedata.image=value.image;pagedata.pid=value.id" ng-class="{'on':pagedata.pid == value.id}">{{value.title}}</nav>
			</div>
			<div class="fui-fullHigh-item container" style="position: relative">
				<a id="advurl" class="swipe external" ng-show="pagedata.groupset.adimg" href="javascript:">
					<img id="advimg" ng-src="{{tomedia(pagedata.groupset.adimg) || '../core/resource/images/nopic.jpg'}}">
				</a>
				<div id="container">
				<div class="fui-icon-group selecter">
					<a ng-repeat="child in pagedata.children" class="fui-icon-col external" ng-click="access_json('/goodslist//cid='+child.id+'&status=0')" href="javascript:;">
						<div class="icon "><img ng-src="{{tomedia(child.image) || '../core/resource/images/nopic.jpg'}}" ></div>
						<div class="text">{{child.title}}</div>
					</a>

				</div>
				</div>
			</div>
		</div>
	</div>
</div>
<div ng-include="sys_html('common/_menu')"></div>
<div ng-include="sys_html('common/_footer')"></div>
<script>
scope.pagedata.pid = 0
</script>